import {useNavigate} from "react-router-dom";


const ButtonRegister = () => {

    const navigate = useNavigate()

    const handleClick = () => {
        navigate('/register')
    };

    return (
        <button
            className="btn btn-outline-secondary mt-2 rounded-5 w-100 py-2 text-uppercase outlined-button"
            id="createAccountButton"
            type="button"
            onClick={handleClick}
        >
            Register
        </button>
    );

}

export default ButtonRegister